#include <STC15F2K60S2.H>

void Init_system(void)
{
	//关闭流水灯
	P0=0xff;
	P2=P2&0x1f | 0x80;
	P2&=0x1f;
	
	//关闭外设
	P0=0x00;
	P2=P2&0x1f | 0xa0;
	P2&=0x1f;
}